package com.xc.shopping_font.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "orders_goods")
public class OrdersGoods implements Serializable {


    @TableId(type = IdType.AUTO)
    private Long id;


    @TableField("product_id")
    private Long productId;

    private Integer quantity;

    @TableField("order_id")
    private Long orderId;







}
